home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nos18b.zip / BM.MM < prev    next >
Text File  |  1991-05-20  |  12KB  |  344 lines

  1. .nr W 7i
  2. .po -0.5
  3. .tr %\\
  4. .S 11
  5. .SA 1
  6. .TL 
  7. BM User Manual
  8. .AF
  9. .AU "Dave Trulli, NN2Z"
  10. .MT 4 1
  11.  
  12. .H 1 "What is BM ?"
  13. \f3BM\f1 is designed to serve as the mail user-interface for the 
  14. KA9Q TCP/IP inter-networking package. It provides a full set 
  15. of mail services to the user which allows the sending and receipt
  16. of electronic mail.
  17.  
  18. .H 1 "BM Installation"
  19. To install \f3BM\f1 requires the modification of the supplied configuration files
  20. and the creation of the proper directory structure.
  21. The following sections describe the file and directory structure
  22. used by \f3BM\f1 and SMTP.
  23.  
  24. .H 2 "Directory Structure"
  25. .VL 16
  26. .LI %spool%mqueue
  27. This directory holds the outbound mail jobs for SMTP. Each job
  28. consists of 2 files a xxxx.txt and xxxx.wrk file where 
  29. xxxx is a unique numerical prefix.
  30. The format of the files are described in a later section.
  31.  
  32. .LI %spool%rqueue
  33. This directory is used by SMTP for jobs that have been received
  34. and will be processed by a user defined mail routing program.
  35. This directory is not used directly by \f3BM\f1.
  36.  
  37. .LI %spool%mail
  38. This directory holds the individual mailboxes for each user name on your
  39. system. The extension .txt is add to the user name to form the mailbox
  40. name. Mail received by the SMTP server is appended to the mailbox file.
  41.  
  42. .H 2 "Configuration Files"
  43.  
  44. .H 3 "The %bm.rc file"
  45. The \\bm.rc file provides \f3BM\f1 with the configuration needed for
  46. the operation of the mailer.
  47.  
  48. The format for the \\bm.rc file is:
  49. .DS I
  50. variable <space>  value <newline>
  51. .DE
  52.  
  53. The following variables are valid in the bm.rc file:
  54. .sp
  55. .HU "smtp  <mail path>"
  56. defines the path to the directory containing the mailbox files.
  57. The default directory is \\spool\\mail on the current drive.
  58.  
  59. .HU "host <your host name>"
  60. Is used to set the local hostname for use
  61. in the RFC822 mail headers. This is a required field.
  62.  
  63. .HU "user <user name>"
  64. Defines the user name of the person who is sending mail.
  65. This is also used as the default mailbox for reading mail.
  66. On the AMPRNET this is usually set to your call.
  67. There is a DOS limit of 8 characters for the user name.
  68.  
  69. .HU "edit  <path of your editor>"
  70. Defines the name of your favorite editor which can be used
  71. to construct and  edit the text of outgoing messages.
  72. The use of edit is optional.
  73.  
  74. .HU "fullname <your full name>"
  75. Is used to provide your full name
  76. to the mailer for use in the comment portion of "From:" header line.
  77. The use of fullname is optional.
  78.  
  79. .HU "reply  <return address>"
  80. Defines the address where you wish to receive replies to messages sent.
  81. This option is useful if you are operating your pc on a local area
  82. network and would like your mail replies sent to a more "well known host".
  83. The address specified by reply is used to generate a "Reply-To:" header 
  84. in outbound mail. The "Reply-To:" header overrides the "From:" header
  85. which is the address normally used to reply to mail. This field is optional.
  86.  
  87. .HU "maxlet  <number of messages>"
  88. defines the maximum number of messages that can be processed
  89. by \f3BM\f1  in one mailbox file. The default value of maxlet is 100.
  90.  
  91. .HU "mbox <filename>"
  92. Specifies the default file to be used for the "save" command.
  93. This file is in the same format as a mailbox and may later be viewed using
  94. the -f option of \f3BM\f1. If this option is not used then the default is set
  95. to mbox.
  96.  
  97. .HU  "record <filename>"
  98. If defined a copy of each message sent will be saved
  99. in <filename>.
  100.  
  101. .HU "folder <directory name>"
  102. If defined folder contains the path used by the save command.
  103.  
  104. .HU "screen [bios | direct]"
  105. In the Turboc compiled version of \f3BM\f1, screen sets the display output mode
  106. to use either direct writes to screen memory or the ROM BIOS.
  107. The default is direct which provides the fastest output mode.
  108. If you are using a windowing system
  109. such as Desqview you should set the mode to bios.
  110. .sp
  111. Here is a sample bm.rc file.
  112. .DS I
  113. host nn2z.ampr
  114. user nn2z
  115. fullname Dave Trulli
  116. # send my replies to the Sun
  117. reply nn2z@ka9q.bellcore.com
  118. screen    direct
  119. edit /bin/vi
  120. mbox c:/folder/mbox
  121. record c:/folder/outmail
  122. folder c:/folder
  123. maxlet 200
  124. .DE
  125.  
  126. .H 3 "The %alias file" 
  127. The alias file provides an easy way to maintain mailing lists.
  128. An alias can be any string of characters not containing the "@" symbol.
  129. The format for the alias file is:
  130. .DS I
  131. alias    recip1 recip2 recip3
  132. <tab>    recip4
  133. .DE
  134. Note that a long list of aliases can be continued on an additional line
  135. by placing a tab or space on the continuation line.
  136. .sp
  137. Some examples aliases are:
  138. .DS I
  139. dave    nn2z@nn2z.ampr
  140.  
  141. phil    karn@ka9q.bellcore.com
  142.  
  143. # mail to local nnj users
  144. nnj    wb2cop@wb2cop.ampr karn@ka9q.bellcore.com
  145.     wb0mpq@home.wb0mpq.ampr w2kb@w2kb.ampr ka2tsm@ka2tsm.ampr
  146. .DE
  147. In the above example, when specifying nnj as the recipient,
  148. \f3BM\f1 will expand the alias into the
  149. list of recipients from the alias file.
  150. At this time an alias may not contain any other aliases.
  151.  
  152. .H 3 "%spool%mqueue%sequence.seq"
  153. The sequence file maintains a message counter which is used
  154. by \f3BM\f1 and \f3SMTP\f1 to generate message ids and unique filenames.
  155. This file is created by \f3BM\f1.
  156.  
  157. .H 2 "Environment"
  158. The timezone used in mail headers is obtained from the DOS
  159. environment variable TZ. An example TZ setting is:
  160. .DS I
  161. set TZ=EDT4    
  162. .DE
  163. It is set in your AUTOEXEC.BAT file. The first 3 characters are the
  164. timezone and the fourth character is the number of hours
  165. from GMT time. If TZ is not set, GMT is assumed.
  166.  
  167. .H 1 "Commands"
  168. All \f3BM\f1 commands are single letters followed by optional arguments.
  169. The command list has been designed to make those familiar with Berkeley
  170. mailers comfortable with \f3BM\f1.
  171.  
  172. .H 2 "Main menu commands"
  173. .HU "m [ userlist ]
  174. The mail command is used to send a message to one or more recipients.
  175. All local recipient names ( those which don't contain an '@' ) are
  176. checked for possible aliases.
  177. If no arguments are supplied you will be prompted for a recipient list.
  178. While entering a message into the text buffer several commands are
  179. available such as: invoking an editor, and reading in text from other messages
  180. or files. See the section below for a description of these commands.
  181. To end a message enter a line containing a single period.
  182. .P
  183. It is important to remember that the input line buffer has a 128 character
  184. limit. You should format your text by entering a carriage return at the
  185. end of each line. Typing excessively long lines may cause data loss
  186. due to truncation when passing the message through other hosts.
  187. Keeping lines less than 80 characters is always a good idea.
  188.  
  189. .HU "d [ msglist ]"
  190. Mark messages for deletion.
  191. Messages marked for deletion are removed when exiting \f3BM\f1 via the
  192. \f3q\f1 command or when changing to an alternate mailbox with the
  193. \f3n\f1 command.
  194.  
  195. .HU h
  196. Display message headers. The message headers contain the message
  197. number, the status indicating whether it has been read or deleted, the sender,
  198. size, date, and subject.
  199.  
  200. .HU "u [ msglist ]"
  201. Undelete a message that is marked for deletion. The status
  202. of a message can be determined by looking at the status field of the
  203. message using the \f3h\f1 command.
  204.  
  205. .HU "n [ mailbox ]"
  206. Display or change mailbox. The \f3n\f1 command with no arguments
  207. will display a list of mailboxes containing mail. If an argument
  208. is supplied, then the current mailbox is closed and a
  209. new mailbox is opened.
  210.  
  211. .HU "! cmd"
  212. Run a DOS command from inside \f3BM\f1. An error message will result if 
  213. there is not enough memory available to load the command.
  214.  
  215. .HU ?
  216. Print a help menu for \f3BM\f1 commands.
  217.  
  218. .HU "s [ msglist ] [ file ]"
  219. The \f3s\f1 command is used to save 
  220. messages in a file. If no filename is given the default from 
  221. the mbox variable in \\bm.rc is used.
  222. If no message number is supplied then the current message is saved.
  223. The message is stored in the same format as a mailbox file with
  224. all mail headers left intact.
  225.  
  226. .HU "p [ msglist ]"
  227. The \f3p\f1 command is used to send messages to the printer.
  228. This command uses the DOS device \f3PRN\f1 for output.
  229. This command is equivalent to:
  230. .DS CB
  231. s [ msglist ] PRN
  232. .DE
  233.  
  234. .HU "w [ msglist ] file"
  235. The \f3w\f1 command is used to save messages
  236. in a file. Only the message body is saved. All mail headers
  237. are removed.
  238. If no message number is supplied then the current message is saved.
  239.  
  240. .HU "f [ msg ]"
  241. The \f3f\f1 command is used to forward a mail message to another recipient.
  242. If no message number is supplied the current message is used.
  243. The user is prompted for the recipients and a subject. The RFC822
  244. header is added to the message text while retaining the complete
  245. original message in the body.
  246. Also see the ~m command.
  247.  
  248. .HU "b [ msg ]"
  249. Bounce a message. Bounce is similar to forwarding but instead of
  250. your user information,
  251. the original sender information is maintained.
  252. If no message number is supplied the current message is used.
  253.  
  254. .HU "r [ msg ]"
  255. Reply to a message. Reply reads the header information in order
  256. to construct a reply to the sender. 
  257. The destination information is taken from the "From:" 
  258. or the "Reply-To:"header, if included.
  259. If no message number is supplied the current message is used.
  260.  
  261. .HU msg #
  262. Entering  a message number from the header listing will
  263. cause the message text to be displayed.
  264.  
  265. .HU l
  266. List outbound messages.
  267. The job number, the sender, and the destination for each message
  268. is displayed. A status of "L" will appear if the SMTP sender
  269. has the file locked.
  270.  
  271. .HU "k [ msglist ]"
  272. Remove an outbound message from the mqueue.
  273. A message can be removed from the send
  274. queue by specifying the job number obtained by the l command.
  275. If the message is locked you will be warned that you may
  276. be removing a file that is currently being sent by SMTP. You
  277. will asked if this job should still be killed.
  278.  
  279.  
  280. .HU $
  281. Update the mailbox. This command updates the mailbox, deleting messages
  282. marked for deletion and reading in any new mail that may have
  283. arrived since entering \f3BM\f1.
  284.  
  285. .HU x
  286. Exit to DOS without changing the data in the mailbox.
  287.  
  288. .HU q
  289. Quit to DOS updating the mailbox.
  290.  
  291. .H 2 "Text input commands"
  292. The following commands are available while entering message text into
  293. the message buffer.
  294. .VL 15
  295. .LI "~r <filename>"
  296. read <filename> into the message buffer.
  297. .LI "~m <msg #>"
  298. read <msg #> into the message buffer.
  299. .LI ~p
  300. display the text in the message buffer.
  301. .LI ~e
  302. invoke the editor defined in \\bm.rc with
  303. a temporary file containing the text in the message buffer.
  304. .LI ~q
  305. Abort the current message. No data is sent.
  306. .LI ~~
  307. Insert a single tilda character into the message.
  308. .LI ~?
  309. Display help menu of tilda escape commands.
  310. .LE
  311.  
  312. .H 1 "Mailer Operation"
  313. .H 2 "Command Line Options"
  314. \f3BM\f1 may be invoked as follows:
  315. .DS I
  316. To send mail:
  317. bm [ -s subject ] recip1 .. .. recipN
  318.  
  319. To read mail:
  320. bm [ -u mailbox | -f file ]
  321. .DE
  322. .VL 15
  323. .LI "-s subject"
  324. This option sets the subject to the text on the command line.
  325.  
  326. .LI "-u mailbox"
  327. Specify which mailbox to read. This overides the default from the bm.rc.
  328.  
  329. .LI "-f file"
  330. Read message from "file" instead of a mailbox.
  331. .LE
  332. .H 2 "Sending Mail"
  333. .H 2 "Reading Mail"
  334. .H 1 "BM/SMTP Interface"
  335. .H 2 "File Formats"
  336. .H 1 "Bug Reports"
  337. Please send any comments, suggestions or bug reports to:
  338. .DS CE
  339. Dave Trulli 
  340. Usenet: nn2z@ka9q.bellcore.com
  341. packet: nn2z@nn2z
  342. AMPRNET: nn2z@nn2z.ampr [44.64.0.10]
  343. .DE
  344.